package com.qf.dao;

import com.qf.pojo.Cart;

import java.util.List;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface CartDao {
    Cart findByUidAndGid(int uid, int pid);

    void insert(Cart cart);

    void updateCart(Cart cart);

    List<Cart> findByUid(int uid);

    void deleteCart(int id, int pid);

    void clearCart(int uid);
}
